package com.financing.platform.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.financing.platform.dao.IFpFundBuynoticeDao;
import com.financing.platform.dto.FpFundBuynoticeDTO;
import com.financing.platform.service.IFpFundBuynoticeService;

/**
 * @Description:Service实现类
 * @version 1.0
 * @created caojiayao
 */
 
@Service(value="fpFundBuynoticeService")
public class FpFundBuynoticeServiceImpl implements IFpFundBuynoticeService {
    @Autowired
	private IFpFundBuynoticeDao fpFundBuynoticeDao;
	
	
	@Override
	public FpFundBuynoticeDTO getFpFundBuynotice(FpFundBuynoticeDTO requestDto) {
		return fpFundBuynoticeDao.getFpFundBuynotice(requestDto);
	}
	
	
	@Override
	public Integer insertFpFundBuynotice(FpFundBuynoticeDTO dto) {
		return fpFundBuynoticeDao.insertFpFundBuynotice(dto);
	}

	
	@Override
	public Integer updateFpFundBuynotice(Map map) {
		return fpFundBuynoticeDao.updateFpFundBuynotice(map);
	}
	
	@Override
	public Integer delFpFundBuynotice(Integer id) {
		return fpFundBuynoticeDao.delFpFundBuynotice(id);
	}
	
	@Override
	public List<FpFundBuynoticeDTO> listFpFundBuynotice(FpFundBuynoticeDTO dto) {
		return fpFundBuynoticeDao.listFpFundBuynotice(dto);
	}
	
	@Override
	public Integer countFpFundBuynotice(FpFundBuynoticeDTO dto){
		return fpFundBuynoticeDao.countFpFundBuynotice(dto);
	}
}
